import time
from month_99.Page.Page1 import Page1
from selenium.webdriver.common.by import By

class Page3(Page1):
    tuango_loc = (By.XPATH,'/html/body/div[3]/div[2]/ul/li[5]/a')
    def tuango(self):
        self.click(self.tuango_loc)

    goods_loc = (By.XPATH,'/html/body/div[5]/div[2]/div[2]/div[1]/ul/li[1]/div[1]/span/a/img')
    def goods(self):
        self.click(self.goods_loc)

    buy_loc = (By.XPATH,'//a[@id="buy-cart" or @class="shop-btn"]')
    def buy(self):
        self.click(self.buy_loc)

    address_loc = (By.CSS_SELECTOR,'.radio-select-btn')
    def address(self):
        self.click(self.address_loc)

    nexta_loc = (By.ID,'order-button')
    def nexta(self):
        self.click(self.nexta_loc)